gitlab.com/evatix-go/core@v1.3.55/converters/BytesPointerToBytes.go (about) 1 package converters 2 3 func BytesPointerToBytes(fromBytesPointer *[]byte) []byte { 4 if fromBytesPointer == nil || *fromBytesPointer == nil { 5 return []byte{} 6 } 7 8 return *fromBytesPointer 9 }