febits

A Rust library containing various features and tools to help make certain tasks easier

These functions were pulled from other projects being worked on for use later in on future projects, consolidating code into one library.


A library containing tools to help with certain tasks to make things easier. Primarily the tools will consist of ways to manipulate primitives and other data types.

primu32
-> u32
to_u16: Split a [u32] into a tuple of ([u16], [u16])

primstr
-> find
strexact: Find an exact [&str] in another [&str]
-> find
str: Find any [&str] in another [&str]

stringfe
-> bytes
tohexstring: Hex-encodes [u8] into a [String]
-> indexhexstringinhexstring: Finds a Hex-encoded [String] inside another Hex-encoded [String]
-> index
stringinu8: Finds a &[String] inside a set of [u8]

vectors
-> sortvecfloats_f32: Sorts a [Vec<f32>] into smallest -> biggest order