rename MaxDataFrame.ByteOffset to MaximumData

This commit is contained in:
Marten Seemann
2020-07-02 16:23:25 +07:00
parent 00f8028e52
commit f4519cfd32
16 changed files with 32 additions and 32 deletions

View File

@@ -143,7 +143,7 @@ var _ = Describe("Frame parsing", func() {
It("unpacks MAX_DATA frames", func() {
f := &MaxDataFrame{
ByteOffset: 0xcafe,
MaximumData: 0xcafe,
}
buf := &bytes.Buffer{}
err := f.Write(buf, versionIETFFrames)