package common
import "github.com/vbatts/tar-split/tar/common"
Index ¶
- func InvalidUtf8Index(b []byte) int
- func IsValidUtf8Btyes(b []byte) bool
- func IsValidUtf8String(s string) bool
Functions ¶
func InvalidUtf8Index ¶
InvalidUtf8Index returns the offset of the first invalid UTF-8 character. Default is to return -1 for a wholly valid sequence.
func IsValidUtf8Btyes ¶
IsValidUtf8Btyes checks for in valid UTF-8 characters
func IsValidUtf8String ¶
IsValidUtf8String checks for in valid UTF-8 characters
Source Files ¶
- Version
- v0.9.9
- Published
- Sep 24, 2015
- Platform
- linux/amd64
- Last checked
- 15 hours ago –
Tools for package owners.