code: function FrameHeader(values) {
    if (values) {
      if (values instanceof Buffer) {
        this.fromBuffer(values);
      }
      else {
        for (var prop in values) {
          this[prop] = values[prop];
        }
      }
    }
  }
docs: classes 
  Represents a frame header that could be used to read from a Buffer or to write to a Buffer