75
75
"""Return the bytes to begin a container."""
79
79
"""Return the bytes to finish a container."""
82
82
def bytes_header(self, length, names):
83
83
"""Return the header for a Bytes record."""
90
90
# Make sure we're writing valid names. Note that we will leave a
91
91
# half-written record if a name is bad!
99
99
def bytes_record(self, bytes, names):
100
100
"""Return the bytes for a Bytes record with the given name and