module Minecraft::IO
Direct including types
- Minecraft::EncryptedTCPSocket
- Minecraft::IO::Hexdump
- Minecraft::IO::Memory
- Minecraft::IO::Wrap
- Minecraft::TCPSocket
Defined in:
minecraft/io.crInstance Method Summary
- #read_angle256_deg : Float32
- #read_bit_location : Rosegold::Vec3i
- #read_bool
- #read_byte
- #read_double : Float64
- #read_float : Float32
- #read_int : Int32
- #read_long : Int64
- #read_nbt : Minecraft::NBT::Tag
- #read_opt_string : String | Nil
- #read_short : Int16
- #read_signed_byte
- #read_ushort : UInt16
- #read_uuid : UUID
- #read_var_bytes : Bytes
- #read_var_int : UInt32
- #read_var_long : UInt64
- #read_var_string(size : UInt32) : String
- #read_var_string : String
- #write(x : Int32, y : Int32, z : Int32)
- #write(value : Bool)
- #write(str : String)
- #write(value : Float32 | Float64 | UInt8 | Int8)
- #write(uuid : UUID)
-
#write(value : UInt16 | Int16 | UInt32 | Int32 | UInt64 | Int64)
writes var int
- #write(nbt : NBT::Tag)
- #write(slot : Rosegold::Slot)
- #write(location : Rosegold::Vec3i)
- #write_angle256_deg(deg : Float32 | Float64)
-
#write_full(value : UInt16 | Int16 | UInt32 | Int32 | UInt64 | Int64 | Float32 | Float64)
writes all bytes even for small magnitudes, not var int
- #write_opt_string(str : String | Nil)
Instance Method Detail
writes all bytes even for small magnitudes, not var int