···346346 single_or_raw(of: decode.bit_array, named: "BitArray", default: <<>>)
347347}
348348349349+/// Decode a `bytes` field. The result is guaranteed to be byte-aligned.
350350+pub fn decode_bytes() -> Decoder(BitArray) {
351351+ use bits <- decode.then(single_or_raw_bit_array())
352352+ case bits {
353353+ <<_:bytes>> -> decode.success(bits)
354354+ _ -> decode.failure(<<>>, "Bytes")
355355+ }
356356+}
357357+349358pub fn decode_protobuf(
350359 // Passed as a function so recursive decoders are easier
351360 using decoder: fn() -> Decoder(t),