Beispiel #1
0
        public async Task <uint> ReadInt32BigEndianAsync()
        {
            var bytes = await ReadBytesAsync(4);

            return(EncodeHelpers.DecodeInt32BigEndian(bytes));
        }
Beispiel #2
0
        public uint ReadInt32BigEndian()
        {
            var bytes = ReadBytes(4);

            return(EncodeHelpers.DecodeInt32BigEndian(bytes));
        }