summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-19 15:32:43 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-19 15:34:46 -0800
commita1d08fd27ab73b1697039e086d745ac68b890634 (patch)
treec239e344f73dab23a99e3846b0fbb4fe3a3a9887 /includes
parent1fa5b7d41ad3ad3991852515ace597d4cae909b1 (diff)
Adding BigEndian reads.
Diffstat (limited to 'includes')
-rw-r--r--includes/Handle.h10
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);