ソースを参照

Clean up comment

Sean Hanson 7 年 前
コミット
d6e8499a75
1 ファイル変更4 行追加4 行削除
  1. 4 4
      snappy.go

+ 4 - 4
snappy.go

@@ -32,10 +32,10 @@ func Decode(src []byte) ([]byte, error) {
 }
 
 // DecodeInto decodes snappy data whether it is traditional unframed
-// or includes the xerial framing format into the specified 'dst'.
-// It is assumed that the entirety of dst including all capacity is available
-// for use by this function. If dst is nil *or* insufficiently large to hold
-// the decoded chunks, new chunks will be allocated.
+// or includes the xerial framing format into the specified `dst`.
+// It is assumed that the entirety of `dst` including all capacity is available
+// for use by this function. If `dst` is nil *or* insufficiently large to hold
+// the decoded `src`, new space will be allocated.
 func DecodeInto(dst, src []byte) ([]byte, error) {
 	var max = len(src)
 	if max < len(xerialHeader) {