コード例 #1
0
 public static async Task <uint> ReadUInt32(this Stream stream)
 {
     return(LittleEndianConverter.ConvertToUInt32(await stream.ReadBytes(4)));
 }
コード例 #2
0
 public static uint ReadLittleEndianUInt32(this byte[] bytes, int offset)
 {
     return(LittleEndianConverter.ConvertToUInt32(bytes.CopyBytes(offset, 4)));
 }