예제 #1
0
            public void Visit(UInt16Type type)
            {
                ArrowBuffer.Builder <ushort> builder = new ArrowBuffer.Builder <ushort>(_length);
                for (int i = 0; i < _length; i++)
                {
                    builder.Append((ushort)i);
                }

                Buffer = builder.Build();
            }
 public void Visit(UInt16Type type) => CreateIntType(type);
예제 #3
0
 public void Visit(UInt16Type type) => GenerateArray(new UInt16Array.Builder(), x => (ushort)x);
예제 #4
0
 public void Visit(UInt16Type type) => GenerateArray <ushort, UInt16Array>((v, n, c, nc, o) => new UInt16Array(v, n, c, nc, o));
 public void Visit(UInt16Type type) => GenerateTestData <ushort, UInt16Array, UInt16Array.Builder>(type, x => (ushort)x);
 public object Read(UInt16Type uInt16Type) => reader.ReadUInt16();
예제 #7
0
 public void Write(UInt16Type uInt16Type, object value) => writer.Write(Convert.ToUInt16(value));
예제 #8
0
 public void Visit(UInt16Type type) => _array    = new UInt16Array(_data);
예제 #9
0
 public void Visit(UInt16Type type)
 {
     throw new NotImplementedException();
 }