105106107108109110111112113114115
assertEquals( streamLen, encodedLen ); try { ByteBuffer bb = ByteBuffer.allocate( encodedLen ); krbPriv.encode( bb ); String encoded = Strings.dumpBytes( bb.array() ); assertEquals( decoded, encoded ); } catch ( EncoderException e )
8889909192939495969798
assertEquals( streamLen, encodedLen ); try { ByteBuffer bb = ByteBuffer.allocate( encodedLen ); krbPriv.encode( bb ); String encoded = Strings.dumpBytes(bb.array()); assertEquals( decoded, encoded ); } catch( EncoderException e )