Check if the character at the specified position is NUL.
(b []byte, i int)
| 96 | |
| 97 | // Check if the character at the specified position is NUL. |
| 98 | func 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. |
| 103 | func is_bom(b []byte, i int) bool { |
no outgoing calls
no test coverage detected