public final static void writeByteArray ( final byte [ ] a , final ObjectOutputStream s ) throws IOException { writeVByte ( a . length , s ) ; s . write ( a ) ; }
Writes a byte array prefixed by its length encoded using vByte .