code: void writeData(int streamId, Buffer buffer, int flags)
      throws IOException
    {
      WriteStream os = _os;
      
      if (os == null) {
        return;
      }
      
      // ChannelHttp2 channel = _conn.getChannel(streamId);
      
      if (false) {//offset >= 8) {
        /*
        offset -= 8;
        
        BitsUtil.writeInt16(buffer, offset, length);
        buffer[offset + 2] = Http2Constants.FRAME_DATA;
        buffer[offset + 3]= (byte) flags;
        BitsUtil.writeInt(buffer, offset + 4, streamId);
        
        os.write(buffer, offset, length + 8);
        */
      }
      else {
        int length = buffer.length();
        
        os.write((byte) (length >> 16)); 
        os.write((byte) (length >> 8)); 
        os.write((byte) (length));
        os.write(Http2Constants.FRAME_DATA);
        os.write(flags);
        
        BitsUtil.writeInt(os, streamId);
        
        buffer.read(os);
      }
      
      if ((flags & Http2Constants.END_STREAM) != 0) {
        closeWrite(streamId);
      }
    }
docs: data (0)