Inline primitive reads
()
| 164 | |
| 165 | // Inline primitive reads |
| 166 | func (c *ReadContext) RawBool() bool { return c.buffer.ReadBool(c.Err()) } |
| 167 | func (c *ReadContext) RawInt8() int8 { return int8(c.buffer.ReadByte(c.Err())) } |
| 168 | func (c *ReadContext) RawInt16() int16 { return c.buffer.ReadInt16(c.Err()) } |
| 169 | func (c *ReadContext) RawInt32() int32 { return c.buffer.ReadInt32(c.Err()) } |