public uint ReadUInt24() { var a = BitExtensions.ToUInt24(data, offset); offset += 3; return(a); }
public void WriteColor(uint a) => buf.AddRange(BitExtensions.GetBytesUInt24(((a & 0xFF) << 16) | (((a >> 8) & 0xFF) << 8) | (a >> 16)));
public void WriteUInt24(uint a) => buf.AddRange(BitExtensions.GetBytesUInt24(a));