803def dataBytesAppendWithin =
804 (lambda unrestricted allocationLimit : Nat .
805 unrestricted left : Bytes .
806 unrestricted right : Bytes .
807 app
808 (lambda unrestricted leftLength : Nat .
809 app
810 (lambda unrestricted rightLength : Nat .
811 eliminate
812 DataBytesCheckedNaturalResult
813 (lambda unrestricted current : (family DataBytesCheckedNaturalResult) .
814 family DataBytesResult)
815 (dataBytesCheckedAddWithin
816 allocationLimit
817 (constructor DataBytesErrorCode DataBytesAllocationLimitExceeded)
818 leftLength
819 rightLength)
820 (branch DataBytesCheckedNaturalSucceeded totalLength .
821 then
822 (app
823 (lambda unrestricted output : Bytes .
824 constructor
825 DataBytesResult
826 DataBytesSucceeded
827 output
828 (dataBytesTelemetry
829 totalLength
830 totalLength
831 totalLength
832 dataBytesNaturalTwo
833 totalLength
834 0
835 totalLength
836 allocationLimit)))
837 bytes-builder-build
838 (bytes-builder-append (bytes-builder-chunk left))
839 bytes-builder-chunk
840 right)
841 (branch DataBytesCheckedNaturalFailed code .
842 constructor
843 DataBytesResult
844 DataBytesFailed
845 code
846 (dataBytesTelemetry leftLength rightLength 0 0 0 0 0 allocationLimit)))
847 (bytes-length right))
848 (bytes-length left))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.