login
Helix Swarm
Helix Swarm
my dashboard
activity
reviews
projects
files
commits
jobs
groups
workflows
tests
commits
/
10701
Change 10701
Brett Bates
committed this change
10 years ago
into
//guest/brettb/p4go/rpc
Request Review
Download .zip
Submitting lost decoder
Decode will take an empty map[string]string and populate it with what is found in the byte array that exists on its io.Reader
Does the minimal error checking so far, will error if we have an invalid 'magic number' or incorrect length
Will probably not do anything useful if we are trying to send long message, need to see how we would pass around the content of a 'p4 print' call
Is up to the caller when to call, would expect the connection to be looping, on read, until we get a func=release ?
Next up is a proper Msg*::Error implementation, instead of using strings
0 comments
Log in to comment
Files
2
Comments
0
0
edited
2
added
0
deleted
•
decoder.go#1
Loading...
decoder_test.go#1
Loading...
Tip: Use
n
and
p
to cycle through the changes.
Log in to comment