Inspecting Bit String Datatype in Elixir: Interactive Shell Dilemma
Elixir is a dynamically typed, functional language that runs on the Erlang virtual machine. One of the datatypes in Elixir is the BitString, which is a sequence of bytes. In this article, we will explore the BitString datatype, the issue encountered while querying it, and how to solve it.
What is a BitString?
A BitString is a sequence of bytes that can be used to represent binary data. It is an immutable, composite datatype in Elixir, and it can be created by using the << and >> binary syntax. For example: