1.0.8 • Published 2 years ago

nv-buf-eq v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-buf-eq

  • compare IF buf VS buf OR buf VS str
  • you can delete ./TEST after install, that is big. the code self is only 4K.

install

  • npm install nv-buf-eq

usage

  const { 
      buf_eq_buf,
      latin1_buf_eq_str,
      utf16_buf_eq_str,
      utf8_buf_eq_str,
  }   = require("nv-buf-eq");

example

0

0_0

0_1

1

1_0

1_1

METHODS

APIS

		const buf_eq_buf        = (buf0,buf1,is_buf_in_nodejs=!!1) => {
		const latin1_buf_eq_str = (buf,s,is_buf_in_nodejs=!!1)     => {
		const utf16_buf_eq_str  = (buf,s,is_buf_in_nodejs=!!1)     => {
		const utf8_buf_eq_str   = (buf,s,is_buf_in_nodejs=!!1)     => {

LICENSE

  • ISC
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago