code: public <T extends Enum<T>> void write(final Enum<T> value) throws IOException {
      final long ordinal = value.ordinal();
      this.write(new Bits(ordinal, 8));
    }
docs: Write.
  
  @param <T>   the type parameter
  @param value the value
  @throws IOException the io exception