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);
public void Visit(UInt16Type type) => GenerateArray(new UInt16Array.Builder(), x => (ushort)x);
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();
public void Write(UInt16Type uInt16Type, object value) => writer.Write(Convert.ToUInt16(value));
public void Visit(UInt16Type type) => _array = new UInt16Array(_data);
public void Visit(UInt16Type type) { throw new NotImplementedException(); }