Searched refs:FixedSubfield (Results 1 – 2 of 2) sorted by relevance
58 typedef uint16_t FixedSubfield; typedef106 FixedSubfield Length; in GetDataSizeFromSerialized()107 ReadFixedSubfield(&Length, Buf + sizeof(FixedSubfield)); in GetDataSizeFromSerialized()128 FixedSubfield EncodeTypedID() const { return (ID << 4) | FType; } in EncodeTypedID()130 void DecodeTypedID(FixedSubfield Subfield, Tag &ID, FieldType &FType) { in DecodeTypedID()131 FixedSubfield PossibleID = Subfield >> 4; in DecodeTypedID()133 FixedSubfield PossibleFType = Subfield & 0xF; in DecodeTypedID()138 const static size_t kTagLenSize = 2 * sizeof(FixedSubfield);139 static void WriteFixedSubfield(FixedSubfield Value, uint8_t *Buf) { in WriteFixedSubfield()143 static void ReadFixedSubfield(FixedSubfield *Value, const uint8_t *Buf) { in ReadFixedSubfield()
101 Len > std::numeric_limits<FixedSubfield>::max()) in Write()105 WriteFixedSubfield(static_cast<FixedSubfield>(Len), in Write()106 Buf + sizeof(FixedSubfield)); in Write()118 FixedSubfield IdField; in Read()120 FixedSubfield LengthField; in Read()121 ReadFixedSubfield(&LengthField, Buf + sizeof(FixedSubfield)); in Read()