@Test public void testGetEncodedContentsReturnsSlice() { ByteBuffer encoded = TEST_VALUE1.getEncodedContents(); assertByteBufferEquals(HexEncoding.decode("bb"), encoded); encoded.position(encoded.limit()); assertByteBufferEquals(HexEncoding.decode("bb"), TEST_VALUE1.getEncodedContents()); }
public ByteBuffer getEncodedContents() { return mEncodedContents.slice(); }
BerDataValue { public ByteBuffer getEncodedContents() { return mEncodedContents.slice(); } }
BerDataValue { public ByteBuffer getEncodedContents() { return mEncodedContents.slice(); } BerDataValue(
            ByteBuffer encoded,
            ByteBuffer encodedContents,
            int tagClass,
            boolean constructed,
            int tagNumber); }
BerDataValue { public ByteBuffer getEncodedContents() { return mEncodedContents.slice(); } BerDataValue(
            ByteBuffer encoded,
            ByteBuffer encodedContents,
            int tagClass,
            boolean constructed,
            int tagNumber); int getTagClass(); boolean isConstructed(); int getTagNumber(); ByteBuffer getEncoded(); ByteBuffer getEncodedContents(); BerDataValueReader contentsReader(); BerDataValueReader dataValueReader(); }
BerDataValue { public ByteBuffer getEncodedContents() { return mEncodedContents.slice(); } BerDataValue(
            ByteBuffer encoded,
            ByteBuffer encodedContents,
            int tagClass,
            boolean constructed,
            int tagNumber); int getTagClass(); boolean isConstructed(); int getTagNumber(); ByteBuffer getEncoded(); ByteBuffer getEncodedContents(); BerDataValueReader contentsReader(); BerDataValueReader dataValueReader();  }