MCPcopy
hub / github.com/go-yaml/yaml / is_z

Function is_z

yamlprivateh.go:98–100  ·  view source on GitHub ↗

Check if the character at the specified position is NUL.

(b []byte, i int)

Source from the content-addressed store, hash-verified

96
97// Check if the character at the specified position is NUL.
98func is_z(b []byte, i int) bool {
99 return b[i] == 0x00
100}
101
102// Check if the beginning of the buffer is a BOM.
103func is_bom(b []byte, i int) bool {

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected