NewSerializeBuffer creates a new instance of the default implementation of the SerializeBuffer interface.
()
| 117 | // NewSerializeBuffer creates a new instance of the default implementation of |
| 118 | // the SerializeBuffer interface. |
| 119 | func NewSerializeBuffer() SerializeBuffer { |
| 120 | return &serializeBuffer{} |
| 121 | } |
| 122 | |
| 123 | // NewSerializeBufferExpectedSize creates a new buffer for serialization, optimized for an |
| 124 | // expected number of bytes prepended/appended. This tends to decrease the |
no outgoing calls
searching dependent graphs…