Simplify unmarshalling.
This commit is contained in:
@@ -45,10 +45,3 @@ func (c *CharSetValue) marshal() []byte {
|
||||
func (c *CharSetValue) marshalInto([]byte) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c *CharSetValue) size() int {
|
||||
l := 1 + 4 // The attribute tag + 2 lengths
|
||||
l += len(c.name)
|
||||
l += len(c.value)
|
||||
return l
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user