Added missing dots in documentation

This commit is contained in:
Aliaksandr Valialkin
2016-07-12 09:12:50 +03:00
parent 10f802b4cd
commit 8ebd0474e5
+4 -4
View File
@@ -84,23 +84,23 @@ func (b *ByteBuffer) WriteByte(c byte) error {
return nil
}
// WriteString appends s to ByteBuffer.B
// WriteString appends s to ByteBuffer.B.
func (b *ByteBuffer) WriteString(s string) (int, error) {
b.B = append(b.B, s...)
return len(s), nil
}
// Set sets ByteBuffer.B to p
// Set sets ByteBuffer.B to p.
func (b *ByteBuffer) Set(p []byte) {
b.B = append(b.B[:0], p...)
}
// SetString sets ByteBuffer.B to s
// SetString sets ByteBuffer.B to s.
func (b *ByteBuffer) SetString(s string) {
b.B = append(b.B[:0], s...)
}
// String returns string representation of ByteBuffer.B
// String returns string representation of ByteBuffer.B.
func (b *ByteBuffer) String() string {
return string(b.B)
}