Source/Packages

Data.Bytes

packages/foundation/standard/src/Data/Bytes.alpha

1,218 lines172 declarations47.4 KiBSHA-256 beded7f8a171

def · lines 1079–1090

dataBytesDecodeWord32BEExact

Full file
1079def dataBytesDecodeWord32BEExact =
1080  (lambda unrestricted input : Bytes .
1081    app
1082      (lambda unrestricted inputLength : Nat .
1083        nat-eliminate
1084          (lambda unrestricted current : Nat . family DataBytesWord32ExactDecodeResult)
1085          (dataBytesWord32ExactFailure inputLength)
1086          (lambda unrestricted exactPredecessor : Nat .
1087            unrestricted exactInduction : (family DataBytesWord32ExactDecodeResult) .
1088            dataBytesWord32ExactFromStream inputLength (dataBytesReadWord32BE input))
1089          (naturalEqual inputLength dataBytesNaturalFour))
1090      (bytes-length input))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.