Lines Matching full:read
18 The RBuffer is given the buffer to read from, with either a specified size
20 to attempt to read a value from an empty RBuffer (data == null).
42 /** Return the number of bytes that have been read from the beginning
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
59 void read(void* buffer, size_t size) {
68 void* readPtr() { void* ptr; read(&ptr, sizeof(ptr)); return ptr; }
69 SkScalar readScalar() { SkScalar x; read(&x, 4); return x; }
70 uint32_t readU32() { uint32_t x; read(&x, 4); return x; }
71 int32_t readS32() { int32_t x; read(&x, 4); return x; }
72 uint16_t readU16() { uint16_t x; read(&x, 2); return x; }
73 int16_t readS16() { int16_t x; read(&x, 2); return x; }
74 uint8_t readU8() { uint8_t x; read(&x, 1); return x; }