Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
endian
master
BigEndian16
BigEndian32
BigEndian64
Endian
Built with Crystal 1.9.2
2023-10-07 21:07:25 UTC
struct
BigEndian32
BigEndian32
Struct
Value
Object
Defined in:
endian.cr
Constructors
.new
(other : Number)
Instance Method Summary
#to_i16
#to_i32
#to_i64
#to_i8
#to_s
(io : IO)
Same as
#inspect(io)
.
#to_u16
#to_u32
#to_u64
#to_u8
Constructor Detail
def self.
new
(other : Number)
#
[
View source
]
Instance Method Detail
def
to_i16
#
[
View source
]
def
to_i32
#
[
View source
]
def
to_i64
#
[
View source
]
def
to_i8
#
[
View source
]
def
to_s
(io : IO)
#
Description copied from struct Struct
Same as
#inspect(io)
.
[
View source
]
def
to_u16
#
[
View source
]
def
to_u32
#
[
View source
]
def
to_u64
#
[
View source
]
def
to_u8
#
[
View source
]