Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
og-rek
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
og-rek
Commits
f2730bbd
Commit
f2730bbd
authored
Jan 01, 2016
by
Sean DuBois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document why FRAME opCode handler discards framing information
parent
82c48d69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ogorek.go
ogorek.go
+2
-0
No files found.
ogorek.go
View file @
f2730bbd
...
...
@@ -797,6 +797,8 @@ func (d *Decoder) binFloat() error {
return
nil
}
// loadFrame discards the framing opcode+information, this information is useful to do one large read (instead of many small reads)
// https://www.python.org/dev/peps/pep-3154/#framing
func
(
d
*
Decoder
)
loadFrame
()
error
{
var
b
[
8
]
byte
_
,
err
:=
io
.
ReadFull
(
d
.
r
,
b
[
:
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment