Struct golden_apple::VarLong [−][src]
pub struct VarLong { /* fields omitted */ }
Expand description
Represents a Java Long (i64) using between 1-10 bytes.
Implementations
Creates a VarLong from a series of bytes. Returns the value and the amount of bytes used if creation is successful.
Creates a VarLong from a reader containing bytes.
Writes a VarLong to a writer as a series of bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VarLong
impl UnwindSafe for VarLong
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more