Module: RuneRb::IO
- Defined in:
- lib/rrb.rb,
lib/rrb/io/buffer.rb,
lib/rrb/io/message.rb,
lib/rrb/io/readable.rb,
lib/rrb/io/writeable.rb,
lib/rrb/io/validation.rb,
lib/rrb/io/native_readable.rb
Overview
The IO module provides objects, modules, and functions to handle input/output operations.
Defined Under Namespace
Modules: NativeReadable, Readable, Validation, Writeable Classes: Buffer, Message
Constant Summary collapse
- BYTE_ORDERS =
Acceptable byte orders in which multi-byte values can be read.
%i[BIG MIDDLE INVERSE_MIDDLE LITTLE].freeze
- BYTE_SIZE =
The size of a byte
8
- BYTE_MUTATIONS =
Valid byte mutations
%i[ADD NEG SUB STD].freeze
- RW_TYPES =
Types that can be read.
%i[bits bit byte bytes medium int long reverse_bytes short smart string].freeze
- BIT_MASK_OUT =
Bit masks for bit packing
(0...32).collect { |bit| (1 << bit) - 1 }