Commit 5b3f5df8 authored by Aaron Jacobs's avatar Aaron Jacobs

Specify that append methods panic.

parent 384f32c2
......@@ -58,13 +58,13 @@ func (b *OutMessage) GrowNoZero(size uintptr) (p unsafe.Pointer) {
}
// Equivalent to growing by the length of p, then copying p over the new
// segment.
// segment. Panics if there is not enough room available.
func (b *OutMessage) Append(p []byte) {
panic("TODO")
}
// Equivalent to growing by the length of s, then copying s over the new
// segment.
// segment. Panics if there is not enough room available.
func (b *OutMessage) AppendString(s string) {
panic("TODO")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment