UnsafeReadVarUint64 reads a VarUint64 without bounds checking. Caller must ensure remaining() >= 10 before calling.
()
| 1316 | // UnsafeReadVarUint64 reads a VarUint64 without bounds checking. |
| 1317 | // Caller must ensure remaining() >= 10 before calling. |
| 1318 | func (b *ByteBuffer) UnsafeReadVarUint64() uint64 { |
| 1319 | return b.readVarUint64Fast() |
| 1320 | } |
| 1321 | |
| 1322 | // ReadVarUint32 reads a VarUint32 and sets error on bounds violation |
| 1323 | func (b *ByteBuffer) ReadVarUint32(err *Error) uint32 { |
no test coverage detected