Specify that append methods panic.

geesefs-0-30-9
Aaron Jacobs 2015-07-28 16:17:56 +10:00
parent 384f32c2a3
commit 5b3f5df8cc
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}