code: public void writeBytes(byte[] buffer, int offset, int length)
          throws IOException
      {
          if (buffer == null) {
              os.write('N');
          }
          else {
              os.write('B');
              os.write(length << 8);
              os.write(length);
              os.write(buffer, offset, length);
          }
      }
docs: Writes a byte array to the stream.
  The array will be written with the following syntax:
  
  <code><pre>
  B b16 b18 bytes
  </pre></code>
  
  If the value is null, it will be written as
  
  <code><pre>
  N
  </pre></code>
  
  @param value the string value to write.