1 cdef extern from "folly/Range.h" namespace "folly":
2 cdef cppclass Range[T]:
8 ctypedef Range[const char*] StringPiece
9 ctypedef Range[const unsigned char*] ByteRange
16 cdef inline bytes to_bytes(R range):
17 return <bytes>range.data()[:range.size()]