Forest::Frame::Data
Inherits Forest::Frame / Reference / Object
Constructors
from_io(io : IO, length : Int32, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE) : Data
Sourcenew(streamIdentifier : Int32, payload : Bytes)
SourceClass methods
type
Sourcewrite_flag(io : IO, end_stream : Bool | Nil, padded : Bool | Nil)
SourceInstance methods
endStream
SourceendStream=(endStream : Bool | Nil)
Sourcelength
Sourcepadded
Sourcepadded=(padded : Bool | Nil)
SourcepaddingData
SourcepaddingData=(paddingData : Bytes | Nil)
SourcepaddingLength
SourcepaddingLength=(paddingLength : UInt8 | Nil)
Sourcepayload
Sourcepayload=(payload : Bytes)
SourcestreamIdentifier
SourcestreamIdentifier=(streamIdentifier : Int32)
Sourceto_io(io : IO, padding_data : Bytes | Nil = self.paddingData)
Source