Bytes returns a slice holding the serialized values. Close must be called before Bytes.
()
| 39 | // Bytes returns a slice holding the serialized values. Close must be called |
| 40 | // before Bytes. |
| 41 | func (s *Serializer) Bytes() []byte { |
| 42 | return s.buffer.Bytes() |
| 43 | } |
| 44 | |
| 45 | func (s *Serializer) Close() error { |
| 46 | return s.writer.Close() |
no outgoing calls