SerializeTo writes this layer to a slice, growing that slice if necessary to make it fit the layer's data. Args: b: SerializeBuffer to write this layer on to. When called, b.Bytes() is the payload this layer should wrap, if any. Note that this layer can either prepend itself (common), append itse
(b SerializeBuffer, opts SerializeOptions)
| 36 | // LayerPayload. It just serializes based on struct fields, neither |
| 37 | // modifying nor using contents/payload. |
| 38 | SerializeTo(b SerializeBuffer, opts SerializeOptions) error |
| 39 | // LayerType returns the type of the layer that is being serialized to the buffer |
| 40 | LayerType() LayerType |
| 41 | } |
no outgoing calls