Sha256: 76513fcc141737aba70c2e2e944f30b925a90e3ef5613cf0cb45ef8a8d5104e4
Contents?: true
Size: 385 Bytes
Versions: 59
Compression:
Stored size: 385 Bytes
Contents
# -*- coding: binary -*- module Dap module Proto module DTLS class RecordLayer < BitStruct unsigned :content_type, 8, 'Content type' unsigned :version, 16, 'Version' unsigned :epoch, 16, 'Epoch' unsigned :sequence, 48, 'Sequence number' unsigned :payload_length, 16, 'Payload length' rest :payload def valid? payload_length == payload.length end end end end end
Version data entries
59 entries across 59 versions & 1 rubygems