Skip to content

Commit c585529

Browse files
committed
chores: remove unsafeByToString
1 parent 4ea866a commit c585529

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

codec.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ func quoRem64(u u128, v uint64) (q u128, r uint64) {
238238
return u.QuoRem64(v)
239239
}
240240

241-
// func unsafeBytesToString(b []byte) string {
242-
// return unsafe.String(unsafe.SliceData(b), len(b))
243-
// }
244-
245241
func unsafeStringToBytes(s string) []byte {
246242
return unsafe.Slice(unsafe.StringData(s), len(s))
247243
}

0 commit comments

Comments
 (0)