class

Forest::Frame::Data

Inherits Forest::Frame / Reference / Object

Constructors

from_io(io : IO, length : Int32, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE) : Data
Source
new(streamIdentifier : Int32, payload : Bytes)
Source

Class methods

type
Source
write_flag(io : IO, end_stream : Bool | Nil, padded : Bool | Nil)
Source

Instance methods

endStream
Source
endStream=(endStream : Bool | Nil)
Source
length
Source
padded
Source
padded=(padded : Bool | Nil)
Source
paddingData
Source
paddingData=(paddingData : Bytes | Nil)
Source
paddingLength
Source
paddingLength=(paddingLength : UInt8 | Nil)
Source
payload
Source
payload=(payload : Bytes)
Source
streamIdentifier
Source
streamIdentifier=(streamIdentifier : Int32)
Source
to_io(io : IO, padding_data : Bytes | Nil = self.paddingData)
Source