val fill_buffer_precond (#t: typ) (b: buffer t) (idx_b len: UInt32.t) (h: HS.mem) : GTot Type0
let fill_buffer_precond
  (#t: typ)
  (b: buffer t) (* destination *)
  (idx_b: UInt32.t)
  (len: UInt32.t)
  (h: HS.mem)
: GTot Type0
= UInt32.v idx_b + UInt32.v len <= UInt32.v (buffer_length b) /\
  buffer_live h (gsub_buffer b idx_b len)
val fill_buffer_precond (#t: typ) (b: buffer t) (idx_b len: UInt32.t) (h: HS.mem) : GTot Type0
let fill_buffer_precond (#t: typ) (b: buffer t) (idx_b len: UInt32.t) (h: HS.mem) : GTot Type0 =
UInt32.v idx_b + UInt32.v len <= UInt32.v (buffer_length b) /\
buffer_live h (gsub_buffer b idx_b len)
FStar.Pointer.Derived3.fsti.checked
prims.fst.checked FStar.UInt32.fsti.checked FStar.Seq.fst.checked FStar.Pointer.Derived1.fsti.checked FStar.Pointer.Base.fsti.checked FStar.Pervasives.fsti.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked
FStar.Pointer.Derived3.fsti
FStar.Pointer.Base.typ FStar.Pointer.Base.buffer FStar.UInt32.t FStar.Monotonic.HyperStack.mem Prims.l_and Prims.b2t Prims.op_LessThanOrEqual Prims.op_Addition FStar.UInt32.v FStar.Pointer.Base.buffer_length FStar.Pointer.Base.buffer_live FStar.Pointer.Base.gsub_buffer
(*
   Copyright 2008-2018 Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module FStar.Pointer.Derived3
include FStar.Pointer.Base
include FStar.Pointer.Derived1
// include FStar.Pointer.Derived2 // useless here

module HH = FStar.HyperStack
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

let fill_buffer_precond
  (#t: typ)
  (b: buffer t) (* destination *)
  (idx_b: UInt32.t)
  (len: UInt32.t)
  (h: HS.mem)
val fill_buffer_precond (#t: typ) (b: buffer t) (idx_b len: UInt32.t) (h: HS.mem) : GTot Type0

    b: FStar.Pointer.Base.buffer t ->
    idx_b: FStar.UInt32.t ->
    len: FStar.UInt32.t ->
    h: FStar.Monotonic.HyperStack.mem
  -> Prims.GTot Type0