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 29e68a6 commit d8fdf93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framed.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ 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 d8fdf93

Please sign in to comment.