code: public static BinaryRecordInput get(DataInput inp) {
      BinaryRecordInput bin = (BinaryRecordInput) bIn.get();
      bin.setDataInput(inp);
      return bin;
    }
docs: Get a thread-local record input for the supplied DataInput.
  @param inp data input stream
  @return binary record input corresponding to the supplied DataInput.