Liking cljdoc? Tell your friends :D

fress.reader


*keywordize-keys*cljs


*throw-on-unsafe?*cljs


build-lookupcljs

(build-lookup user-handlers name->map-ctor)

default-read-handlerscljs


IFressianReadercljsprotocol

readOpenListcljs

(readOpenList this)

readBooleancljs

(readBoolean this)

readIntcljs

(readInt this)

readObjects-cljs

(readObjects- this length)

readClosedListcljs

(readClosedList this)

readInt32cljs

(readInt32 this)

readObjectcljs

(readObject this)

getPriorityCache-cljs

(getPriorityCache- this)

readAndCacheObject-cljs

(readAndCacheObject- this cache)

readCount-cljs

(readCount- this)

handleStruct-cljs

(handleStruct- this tag fields)

readNextCodecljs

(readNextCode this)

getHandler-cljs

(getHandler- this tag)

read-cljs

(read- this code)

lookupCachecljs

(lookupCache this cache index)

readFloatcljs

(readFloat this)

getStructCache-cljs

(getStructCache- this)

validateFootercljs

(validateFooter this)
(validateFooter this calculatedLength magicFromStream)

resetCachescljs

(resetCaches this)

readDoublecljs

(readDouble this)

internalReadcljs

(internalRead rdr code)

internalReadBytescljs

(internalReadBytes rdr length)

called on codes/BYTES

called on codes/BYTES
raw docstring

internalReadChunkedBytescljs

(internalReadChunkedBytes rdr)

called on codes/BYTES_CHUNK

called on codes/BYTES_CHUNK
raw docstring

internalReadChunkedStringcljs

(internalReadChunkedString rdr length)

internalReadDoublecljs

(internalReadDouble rdr code)

internalReadIntcljs

(internalReadInt rdr code)

when throw-on-unsafe? is false, will return a goog.Long for unsafe numbers

when *throw-on-unsafe?* is false, will return a goog.Long for unsafe numbers
raw docstring

internalReadListcljs

(internalReadList rdr length)

internalReadStringcljs

(internalReadString rdr length)

magicLcljs


readBigDecimalcljs

(readBigDecimal rdr _ _)

BIGDEC (0xC7) carries two fields: the unscaled value as bytes (a bigint) and an integer scale. Value = unscaled x 10^-scale. Mirrors JVM Fressian's default BigDecimal read; returns a fress.impl.bigdec/Bigdec.

BIGDEC (0xC7) carries two fields: the unscaled value as bytes (a bigint) and
an integer scale. Value = unscaled x 10^-scale. Mirrors JVM Fressian's default
BigDecimal read; returns a fress.impl.bigdec/Bigdec.
raw docstring

readBigIntcljs

(readBigInt rdr _ _)

readBooleanArraycljs

(readBooleanArray rdr _ _)

readCharcljs

(readChar rdr _ _)

readDoubleArraycljs

(readDoubleArray rdr _ _)

readercljs

(reader in
        &
        {:keys [handlers checksum? offset name->map-ctor]
         :or {handlers nil checksum? false}
         :as opts})

readFloatArraycljs

(readFloatArray rdr _ _)

readInstcljs

(readInst rdr _ _)

readIntArraycljs

(readIntArray rdr _ _)

readKeywordcljs

(readKeyword rdr _ _)

readLongArraycljs

(readLongArray rdr _ _)

readMapcljs

(readMap rdr _ _)

readObjectArraycljs

(readObjectArray rdr _ _)

readRecordcljs

(readRecord rdr tag component-count name->map-ctor)

readRegexcljs

(readRegex rdr _ _)

readSetcljs

(readSet rdr _ _)

readSymbolcljs

(readSymbol rdr _ _)

readUricljs

(readUri rdr _ _)

readUTF8cljs

(readUTF8 rdr)

this uses TextDecoder on raw utf8 bytes instead of using js on compressed fressian string bytes

this uses TextDecoder on raw utf8 bytes instead of using js on compressed
fressian string bytes
raw docstring

readUUIDcljs

(readUUID rdr _ _)

UNDER_CONSTRUCTIONcljs


valid-handler-key?cljs

(valid-handler-key? k)

valid-name->map-ctor?cljs

(valid-name->map-ctor? m)

valid-user-handlers?cljs

(valid-user-handlers? uh)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close