Npgsql Api Docs |

# BitString.ToByteEnumerable Method

Interprets the bitstring as a series of octets (bytes) and returns those octets. Fails if the Bitstring does not contain a whole number of octets (its length is not evenly divisible by 8).

[Visual Basic]
Public Function ToByteEnumerable() As IEnumerable`1([System.Byte, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089))
[C#]
public 0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] ToByteEnumerable();

#### See Also

BitString Class | NpgsqlTypes Namespace