GetInt16() публичный Метод

public GetInt16 ( uint byteOffset, bool littleEndian = false ) : Int16
byteOffset uint
littleEndian bool
Результат System.Int16
Пример #1
0
 public void TestSetGetInt16() {
     Action f = () => {
         var b = new ArrayBuffer(16);
         var v = new DataView(b);
         v.SetInt16(0, 5);
         v.SetInt16(8, 6);
         Done(v.GetInt16(0) == 5 && v.GetInt16(8) == 6);
     };
     this.Start(f);
 }