CSharpRTMP.Common.IOHelper.ReadUShort C# (CSharp) Метод

ReadUShort() публичный статический Метод

public static ReadUShort ( this s ) : ushort
s this
Результат ushort
        public static ushort ReadUShort(this Stream s) => (ushort) (s.ReadByte() << 8 | s.ReadByte());
        public static ushort ReadUShort(this byte[] buffer,int offset) => (ushort) (buffer[offset] << 8 | buffer[offset+1]);

Same methods

IOHelper::ReadUShort ( this buffer, int offset ) : ushort