public void addUnsignedByte ( short value ) { if ( 1 + length < capacity ) { DynamicByteBufferHelper . unsignedByteTo ( buffer , length , value ) ; } else { buffer = DynamicByteBufferHelper . grow ( buffer , buffer . length * 2 + 1 ) ; capacity = buffer . length ; DynamicByteBufferHelper . unsignedByteTo ( buffer , length , value ) ; } length += 1 ; }
Adds the unsigned byte .