code: public static BEValue bdecode(ByteBuffer data) throws IOException {
      return BDecoder.bdecode(new ByteArrayInputStream(data.array()));
    }
docs: Decode a B-encoded byte buffer.
  
  <p>
  Automatically instantiates a new BDecoder for the provided buffer and
  decodes its root member.
  </p>
  
  @param data The {@link ByteBuffer} to read from.