class

Ruby::Marshal::BigNum

Inherits Ruby::Marshal::StreamObject < Reference < Object

“l” represents a Bignum which is composed of three parts:

sign A single byte containing “+” for a positive value or “-” for a negative value.

length A long indicating the number of bytes of Bignum data follows, divided by two. Multiply the length by two to determine the number of bytes of data that follow.

data Bytes of Bignum data representing the number.

Constructors

new(stream : Bytes)
Source

Instance methods

data
Source
length
Source
read(stream : Bytes)
Source
sign
Source