Documentation
¶
Overview ¶
Package recordio implements the Mesos variant of RecordIO framing, whereby each record is prefixed by a line that indicates the length of the record in decimal ASCII. The bytes of the record immediately follow the length-line. Zero-length records are allowed.
Example ¶
r := NewReader(strings.NewReader("6\nhello 0\n6\nworld!"))
records, err := ioutil.ReadAll(r)
fmt.Println(string(records), err)
Output: hello world! <nil>
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.