diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 15:32:43 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 15:34:46 -0800 |
commit | a1d08fd27ab73b1697039e086d745ac68b890634 (patch) | |
tree | c239e344f73dab23a99e3846b0fbb4fe3a3a9887 /includes | |
parent | 1fa5b7d41ad3ad3991852515ace597d4cae909b1 (diff) |
Adding BigEndian reads.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Handle.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index 941748e..29cdb08 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -72,7 +72,15 @@ class Handle { Future<int16_t> readI16(); Future<int32_t> readI32(); Future<int64_t> readI64(); - Future<void> writeU8 (uint8_t); + Future<uint8_t> readBEU8(); + Future<uint16_t> readBEU16(); + Future<uint32_t> readBEU32(); + Future<uint64_t> readBEU64(); + Future<int8_t> readBEI8(); + Future<int16_t> readBEI16(); + Future<int32_t> readBEI32(); + Future<int64_t> readBEI64(); + Future<void> writeU8(uint8_t); Future<void> writeU16(uint16_t); Future<void> writeU32(uint32_t); Future<void> writeU64(uint64_t); |