code: func (f *MaxDataFrame) Write(b *bytes.Buffer, version protocol.VersionNumber) error {
  	b.WriteByte(0x10)
  	utils.WriteVarInt(b, uint64(f.ByteOffset))
  	return nil
  }
docs: //Write writes a MAX_STREAM_DATA frame