Class Beefcake::Buffer
In: lib/beefcake/buffer/encode.rb
lib/beefcake/buffer/decode.rb
lib/beefcake/buffer/base.rb
Parent: Object

Methods

Classes and Modules

Class Beefcake::Buffer::BufferOverflowError
Class Beefcake::Buffer::OutOfRangeError
Class Beefcake::Buffer::UnknownType

Constants

MinUint32 = 0
MaxUint32 = (1<<32)-1
MinInt32 = -(1<<31)
MaxInt32 = (1<<31)-1
MinUint64 = 0
MaxUint64 = (1<<64)-1
MinInt64 = -(1<<63)
MaxInt64 = (1<<63)-1

External Aliases

buf -> to_s
buf -> to_str

Attributes

buf  [RW] 

Public Class methods

Public Instance methods

append_bytes(s)

Alias for append_string

read_bytes()

Alias for read_string

read_int32()

Alias for read_int64

read_sint32()

Alias for read_sint64

read_uint32()

Alias for read_uint64

[Validate]