GetOffset returns the current offset value.
()
| 127 | |
| 128 | // GetOffset returns the current offset value. |
| 129 | func (b BufferWriter) GetOffset() int { |
| 130 | return b.offset |
| 131 | } |
| 132 | |
| 133 | // AlignBytes aligns the offset/bit offset to the next byte specified in alignment. |
| 134 | // The new offset may cross the buffer boundary. |
no outgoing calls
no test coverage detected