Evan Huus 12 years ago
parent
commit
dd1da93b93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      encoding/real_decoder.go

+ 1 - 1
encoding/real_decoder.go

@@ -181,7 +181,7 @@ func (rd *realDecoder) GetSubset(length int) (PacketDecoder, error) {
 
 
 	start := rd.off
 	start := rd.off
 	rd.off += length
 	rd.off += length
-	return &realDecoder{raw: rd.raw[start : rd.off]}, nil
+	return &realDecoder{raw: rd.raw[start:rd.off]}, nil
 }
 }
 
 
 // stacks
 // stacks