Run make help
to see the available commands.
$ make test
ok github.com/rlespinasse/byteslice 0.007s coverage: 100.0% of statements
Manipulate of byte slices with endianness ordering support
Home Page: https://godoc.org/github.com/rlespinasse/byteslice
License: MIT License
Run make help
to see the available commands.
$ make test
ok github.com/rlespinasse/byteslice 0.007s coverage: 100.0% of statements
Support bitwise operations for a []byte
value
little endian
,Support
func Mask(data, mask []byte) []byte {}
func InclusiveMerge(data1, data2 []byte) []byte {}
func ExclusiveMerge(data1, data2 []byte) []byte {}
func Not(data []byte) []byte {}
func RightShift(data []byte, shift uint8) []byte {}
func LeftShift(data []byte, shift uint8) []byte {}
Instead of a, b, c use more understandable words like data, lsb (least significant bit), or msb (most significant bit)
Use the output bada55
for this example
Use the output bada55
for this example
It's Toggle, not Toogle
Use the output bada55
for this example
Use the output bada55
for this example
All operations must support little endian and big endian operations
Use the output bada55
for this example
All current operations must support little endian and big endian operations
Use the output bada55
for this example
Use the output bada55
for this example
From https://choosealicense.com/
Possible choices
Others license in mind?
Use the output bada55
for this example
Use the output bada55
for this example
Use the output bada55
for this example
Use the output bada55
for this example
Use the output bada55
for this example
Add http://editorconfig.org/ file for Golang
, Makefile
, and Asciidoctor
files
Use the output bada55
for this example
func ExtractBytes(data []byte, lsbPosition, msbPosition uint64) []byte {}
func SizeCalculation(lsbPosition, msbPosition uint64) uint64 {}
func Trim(data []byte, newSize uint64) []byte {}
func ExtractBits(a byte, b, c uint8) byte {}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.