Sharpen.ShortBuffer.Put C# (CSharp) Method

Put() public method

public Put ( short val ) : void
val short
return void
        public void Put(short val)
        {
            this.PutShort(val);
        }

Usage Example

Example #1
0
 public static ShortBuffer Wrap(short[] data)
 {
     ShortBuffer buf = new ShortBuffer(new byte[data.Length * 2], 0, data.Length * 2);
     buf.Put(data);
     return buf;
 }