gleam/bit_string

This module has been deprecated. Please use the gleam/bit_array module instead.

Functions

pub fn append(
  to first: BitArray,
  suffix second: BitArray,
) -> BitArray

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn byte_size(x: BitArray) -> Int

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn concat(bit_strings: List(BitArray)) -> BitArray

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn from_string(x: String) -> BitArray

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn is_utf8(bits: BitArray) -> Bool

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn slice(
  from string: BitArray,
  at position: Int,
  take length: Int,
) -> Result(BitArray, Nil)

Deprecated: Please use the `gleam/bit_array` module instead.

pub fn to_string(bits: BitArray) -> Result(String, Nil)

Deprecated: Please use the `gleam/bit_array` module instead.

Search Document