Skip to content

Commit

Permalink
Added constant for frame header size
Browse files Browse the repository at this point in the history
  • Loading branch information
oxtoacart committed Nov 26, 2014
1 parent d8fdf93 commit 466afa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framed.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
const (
// FrameHeaderSize is the size of the frame header in bytes
FrameHeaderSize = 2

// MaxFrameSize is the maximum possible size of a frame (not including the
// length prefix)
MaxFrameSize = 65535
Expand Down

0 comments on commit 466afa7

Please sign in to comment.