diff options
Diffstat (limited to 'pkg/payload/payload.go')
-rwxr-xr-x | pkg/payload/payload.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/payload/payload.go b/pkg/payload/payload.go index bf3972aa..1fe334eb 100755 --- a/pkg/payload/payload.go +++ b/pkg/payload/payload.go @@ -16,8 +16,3 @@ type Payload struct { func (p *Payload) String() string { return toString(p.Body) } - -// unsafe, but lightning fast []byte to string conversion -func toString(data []byte) string { - return *(*string)(unsafe.Pointer(&data)) -} |