Sub-binaries
С функцията Kernel.binary_part/3
можем да боравим с части от дадена binary
структура:
binary_part(<< 83, 79, 83, 23, 21, 12 >>, 1, 3)
binary_part(<< 83, 79, 83, 23, 21, 12 >>, 2, -1)
binary_part(<< 83, 79, 83, 23, 21, 12 >>, 1, 6)
binary_part(<< 83, 79, 83, 23, 21, 12 >>, -1, 3)