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
73807363
Commit
73807363
authored
Sep 30, 2014
by
Sean DuBois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement r opcode LONG_BINPUT
parent
2dfb2bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ogórek.go
ogórek.go
+8
-1
No files found.
ogórek.go
View file @
73807363
...
...
@@ -675,7 +675,14 @@ func (d *Decoder) binPut() error {
}
func
(
d
*
Decoder
)
longBinPut
()
error
{
return
errNotImplemented
var
b
[
4
]
byte
_
,
err
:=
io
.
ReadFull
(
d
.
r
,
b
[
:
])
if
err
!=
nil
{
return
err
}
v
:=
binary
.
LittleEndian
.
Uint32
(
b
[
:
])
d
.
memo
[
strconv
.
Itoa
(
int
(
v
))]
=
d
.
stack
[
len
(
d
.
stack
)
-
1
]
return
nil
}
func
(
d
*
Decoder
)
loadSetItem
()
error
{
...
...
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