public static void writeBytes(final OutputStream output,final byte[] data,final int offset,final int len) throws IOException {
  writeVarInt32(output,len);
  output.write(data,offset,len);
}

public static void writeBytes ( final OutputStream output , final byte [ ] data , final int offset , final int len ) throws IOException { writeVarInt32 ( output , len ) ; output . write ( data , offset , len ) ; }
write a byte array prefixed by its length in a varint .
