Source/Packages

Data.Bytes

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

1,218 lines172 declarations47.4 KiBSHA-256 beded7f8a171

def · lines 1066–1077

dataBytesDecodeWord32LEExact

Full file
1066def dataBytesDecodeWord32LEExact =
1067  (lambda unrestricted input : Bytes .
1068    app
1069      (lambda unrestricted inputLength : Nat .
1070        nat-eliminate
1071          (lambda unrestricted current : Nat . family DataBytesWord32ExactDecodeResult)
1072          (dataBytesWord32ExactFailure inputLength)
1073          (lambda unrestricted exactPredecessor : Nat .
1074            unrestricted exactInduction : (family DataBytesWord32ExactDecodeResult) .
1075            dataBytesWord32ExactFromStream inputLength (dataBytesReadWord32LE input))
1076          (naturalEqual inputLength dataBytesNaturalFour))
1077      (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.