List of usage examples for org.apache.hadoop.io ArrayPrimitiveWritable ArrayPrimitiveWritable
public ArrayPrimitiveWritable()
From source file:com.axiomine.largecollections.kryo.serializers.ArrayPrimitiveWritableSerializer.java
License:Apache License
public ArrayPrimitiveWritable read(Kryo kryo, Input input, Class<ArrayPrimitiveWritable> type) { int len = input.readInt(true); byte[] ba = input.readBytes(len); return (ArrayPrimitiveWritable) SerDeUtils.deserializeWritable(new ArrayPrimitiveWritable(), ba); }