mirror of https://bitbucket.org/ausocean/av.git
Fix typo in comment.
This commit is contained in:
parent
32c281d2dc
commit
e0a4c39c8b
|
@ -248,7 +248,7 @@ func EncodeNamedNumber(buf []byte, key string, val float64) ([]byte, error) {
|
|||
return EncodeNumber(buf[len(key):], val)
|
||||
}
|
||||
|
||||
// EncodeNamedNumber encodes a named boolean, where key is the name and val is the booelean value.
|
||||
// EncodeNamedNumber encodes a named boolean, where key is the name and val is the boolean value.
|
||||
func EncodeNamedBoolean(buf []byte, key string, val bool) ([]byte, error) {
|
||||
if 2+len(key) > len(buf) {
|
||||
return nil, ErrShortBuffer
|
||||
|
|
Loading…
Reference in New Issue