class Minecraft::NBT::LongTag

Defined in:

minecraft/nbt.cr

Constructors

Instance Method Summary

Instance methods inherited from class Minecraft::NBT::Tag

[](value) [], as_byte_array : Array(Int8) as_byte_array, as_compound : Hash(String, Tag) as_compound, as_f32 : Float32 as_f32, as_f64 : Float64 as_f64, as_i : Int8 | Int16 | Int32 | Int64 | UInt8 as_i, as_i16 : Int16 as_i16, as_i32 : Int32 as_i32, as_i32_array : Array(Int32) as_i32_array, as_i64 : Int64 as_i64, as_i64_array : Array(Int64) as_i64_array, as_i8 : Int8 as_i8, as_list : Array(Tag) as_list, as_s : String as_s, tag_type : UInt8 tag_type, value value, write_named(io : Minecraft::IO, name : String = "") write_named

Constructor methods inherited from class Minecraft::NBT::Tag

read(io : IO, tag_type = io.read_byte, &) : Tag
read(io : IO, tag_type = io.read_byte) : Tag
read

Class methods inherited from class Minecraft::NBT::Tag

read_named(io : IO, tag_type = io.read_byte) : NamedTag read_named

Constructor Detail

def self.new(value : Int64) #

[View source]
def self.read(io : IO) : LongTag #

[View source]

Instance Method Detail

def inspect(io) #

[View source]
def tag_type : UInt8 #

[View source]
def value : Int64 #

[View source]
def write(io : IO) #

[View source]