public static TypedBytesInput get(DataInput in) {
    TypedBytesInput bin = (TypedBytesInput) tbIn.get();
    bin.setDataInput(in);
    return bin;
  }
Get a thread-local typed bytes input for the supplied {@link DataInput}.

@param in
         data input object
@return typed bytes input corresponding to the supplied {@link DataInput}.
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesInput.java