DotNetWebToolkit.Web.DataView.SetInt8 C# (CSharp) Method

SetInt8() public method

public SetInt8 ( uint byteOffset, SByte value ) : void
byteOffset uint
value SByte
return void
        public extern void SetInt8(uint byteOffset, SByte value);
        [JsDetail(Name = "setUint8")]

Usage Example

Exemplo n.º 1
0
 public void TestSetGetInt8() {
     Action f = () => {
         var b = new ArrayBuffer(16);
         var v = new DataView(b);
         v.SetInt8(0, 5);
         v.SetInt8(8, 6);
         Done(v.GetInt8(0) == 5 && v.GetInt8(8) == 6);
     };
     this.Start(f);
 }