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
ea2098b7
Commit
ea2098b7
authored
Nov 24, 2013
by
Damian Gryski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder: add BINGET / LONG_BINGET
parent
d1fee502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ogórek.go
ogórek.go
+7
-2
No files found.
ogórek.go
View file @
ea2098b7
...
...
@@ -511,7 +511,9 @@ func (d *Decoder) get() error {
}
func
(
d
*
Decoder
)
binGet
()
error
{
return
errNotImplemented
b
,
_
:=
d
.
r
.
ReadByte
()
d
.
push
(
d
.
memo
[
strconv
.
Itoa
(
int
(
b
))])
return
nil
}
func
(
d
*
Decoder
)
inst
()
error
{
...
...
@@ -519,7 +521,10 @@ func (d *Decoder) inst() error {
}
func
(
d
*
Decoder
)
longBinGet
()
error
{
return
errNotImplemented
var
v
int32
binary
.
Read
(
d
.
r
,
binary
.
LittleEndian
,
&
v
)
d
.
push
(
d
.
memo
[
strconv
.
Itoa
(
int
(
v
))])
return
nil
}
func
(
d
*
Decoder
)
loadList
()
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