Uses of Class
io.permazen.util.ByteWriter
Package
Description
Core classes for the Permazen Java persistence layer.
Permazen
Encoding
s.Utility classes relating to the
KVDatabase
interface.General utility classes used with Permazen.
-
Uses of ByteWriter in io.permazen.core
Modifier and TypeMethodDescriptionstatic void
Layout.encodeSchema
(ByteWriter writer, SchemaModel schemaModel) Encode schema XML for a schema table entry.void
ObjIdEncoding.write
(ByteWriter writer, ObjId id) void
ReferenceEncoding.write
(ByteWriter writer, ObjId id) void
ObjId.writeTo
(ByteWriter writer) Write the binary encoding of this instance to the given output. -
Uses of ByteWriter in io.permazen.encoding
Modifier and TypeMethodDescriptiondefault void
Encoding.validateAndWrite
(ByteWriter writer, Object obj) Convenience method that both validates and encodes a value.void
BigDecimalEncoding.write
(ByteWriter writer, BigDecimal value) void
BigIntegerEncoding.write
(ByteWriter writer, BigInteger value) void
BitSetEncoding.write
(ByteWriter writer, BitSet bitSet) void
BooleanArrayEncoding.write
(ByteWriter writer, boolean[] array) void
BooleanEncoding.write
(ByteWriter writer, Boolean value) void
CharacterArrayEncoding.write
(ByteWriter writer, char[] array) void
CharacterEncoding.write
(ByteWriter writer, Character value) void
ConvertedEncoding.write
(ByteWriter writer, T obj) void
DateEncoding.write
(ByteWriter writer, Date date) void
DoubleArrayEncoding.write
(ByteWriter writer, double[] array) void
DoubleEncoding.write
(ByteWriter writer, Double value) void
DurationEncoding.write
(ByteWriter writer, Duration duration) void
Encoding.write
(ByteWriter writer, T value) Write a value to the given output.void
FloatArrayEncoding.write
(ByteWriter writer, float[] array) void
FloatEncoding.write
(ByteWriter writer, Float value) void
InetAddressEncoding.write
(ByteWriter writer, InetAddress addr) void
InstantEncoding.write
(ByteWriter writer, Instant instant) void
IntegralArrayEncoding.write
(ByteWriter writer, T array) void
IntegralEncoding.write
(ByteWriter writer, T value) void
LocalDateEncoding.write
(ByteWriter writer, LocalDate localDate) void
LocalDateTimeEncoding.write
(ByteWriter writer, LocalDateTime localDateTime) void
LocalTimeEncoding.write
(ByteWriter writer, LocalTime localTime) void
MonthDayEncoding.write
(ByteWriter writer, MonthDay monthDay) void
NullSafeEncoding.write
(ByteWriter writer, T value) void
ObjectArrayEncoding.write
(ByteWriter writer, E[] array) void
PeriodEncoding.write
(ByteWriter writer, Period period) void
StringEncoding.write
(ByteWriter writer, String value) void
TupleEncoding.write
(ByteWriter writer, T tuple) void
UnsignedIntEncoding.write
(ByteWriter writer, Integer value) void
UUIDEncoding.write
(ByteWriter writer, UUID uuid) void
VoidEncoding.write
(ByteWriter writer, Void value) void
YearEncoding.write
(ByteWriter writer, Year year) void
YearMonthEncoding.write
(ByteWriter writer, YearMonth yearMonth) void
ZoneOffsetEncoding.write
(ByteWriter writer, ZoneOffset zoneOffset) -
Uses of ByteWriter in io.permazen.kv.util
Modifier and TypeMethodDescriptionprotected abstract void
AbstractKVNavigableSet.encode
(ByteWriter writer, Object obj) Encode the given object into abyte[]
key.protected void
KVNavigableSet.encode
(ByteWriter writer, Object obj) protected abstract void
AbstractKVNavigableMap.encodeKey
(ByteWriter writer, Object obj) Encode the given key object into abyte[]
key.protected void
KVNavigableMap.encodeKey
(ByteWriter writer, Object obj) -
Uses of ByteWriter in io.permazen.util
Modifier and TypeMethodDescriptionstatic void
LongEncoder.write
(ByteWriter writer, long value) Encode the given value to the output.static void
UnsignedIntEncoder.write
(ByteWriter writer, int value) Encode the given value to the output.static void
ByteUtil.writeInt
(ByteWriter writer, int value) Write anint
as four big-endian bytes.static void
ByteUtil.writeLong
(ByteWriter writer, long value) Write along
as eight big-endian bytes.ModifierConstructorDescriptionByteReader
(ByteWriter writer) Constructor.ByteReader
(ByteWriter writer, int mark) Constructor.