diff --git a/cc/otavia/buffer/AbstractBuffer.html b/cc/otavia/buffer/AbstractBuffer.html index 0cbf3e962..d38a12ca7 100644 --- a/cc/otavia/buffer/AbstractBuffer.html +++ b/cc/otavia/buffer/AbstractBuffer.html @@ -5070,6 +5070,43 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+
+ Buffer +
+
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/Buffer.html b/cc/otavia/buffer/Buffer.html index 42ec58fa5..ef8dc248e 100644 --- a/cc/otavia/buffer/Buffer.html +++ b/cc/otavia/buffer/Buffer.html @@ -4486,6 +4486,34 @@

Attributes

+
+
+ +
+
+ def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+
+
+
+
diff --git a/cc/otavia/buffer/BufferUtils$.html b/cc/otavia/buffer/BufferUtils$.html index 6498ab3c9..0ed0e721f 100644 --- a/cc/otavia/buffer/BufferUtils$.html +++ b/cc/otavia/buffer/BufferUtils$.html @@ -298,6 +298,77 @@

Attributes

+
+
+ +
+
+ final def readStringAsJDuration(buffer: Buffer): Duration +
+
+
+
+ +
+
+
+
+

Obtains a java.time.Duration from a text string such as PnDTnHnMn.nS.

+
+
+
+

Obtains a java.time.Duration from a text string such as PnDTnHnMn.nS.

+

This will parse a textual representation of a duration, like the string produced by toString. The formats accepted are based on the ISO-8601 duration format PnDTnHnMn.nS with days considered to be exactly 24 hours.

+

The string starts with an optional sign, denoted by the ASCII negative or positive symbol. If negative, the whole period is negated. The ASCII letter "P" is next in upper or lower case. There are then four sections, each consisting of a number and a suffix. The sections have suffixes in ASCII of "D", "H", "M" and "S" for days, hours, minutes and seconds, accepted in upper or lower case. The suffixes must occur in order. The ASCII letter "T" must occur before the first occurrence, if any, of an hour, minute or second section. At least one of the four sections must be present, and if "T" is present there must be at least one section after the "T". The number part of each section must consist of one or more ASCII digits. The number may be prefixed by the ASCII negative or positive symbol. The number of days, hours and minutes must parse to a long. The number of seconds must parse to a long with optional fraction. The decimal point may be either a dot or a comma. The fractional part may have from zero to 9 digits.

+

The leading plus/minus sign, and negative values for other units are not part of the ISO-8601 standard.

+

Examples:

+
+
  "PT20.345S" -- parses as "20.345 seconds"
+  "PT15M"     -- parses as "15 minutes" (where a minute is 60 seconds)
+  "PT10H"     -- parses as "10 hours" (where an hour is 3600 seconds)
+  "P2D"       -- parses as "2 days" (where a day is 24 hours or 86400 seconds)
+  "P2DT3H4M"  -- parses as "2 days, 3 hours and 4 minutes"
+  "PT-6H3M"    -- parses as "-6 hours and +3 minutes"
+  "-PT6H3M"    -- parses as "-6 hours and -3 minutes"
+  "-PT-6H+3M"  -- parses as "+6 hours and -3 minutes"
+
+
+
+
+

Value parameters

+
+
+ buffer +
+
+

the Buffer to read.

+
+
+

Attributes

+
+
+ Returns +
+
+

the parsed duration, not null

+
+
+ Throws +
+
+
+
+ DateTimeParseException +

if the text cannot be parsed to a duration

+
+
+
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/pool/AdaptiveBuffer.html b/cc/otavia/buffer/pool/AdaptiveBuffer.html index 4bb0329d3..1e3da7a47 100644 --- a/cc/otavia/buffer/pool/AdaptiveBuffer.html +++ b/cc/otavia/buffer/pool/AdaptiveBuffer.html @@ -7373,6 +7373,41 @@

Attributes

+
+
+ +
+
+ def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Inherited from: +
+
+ Buffer +
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/pool/DirectRecyclablePageBuffer.html b/cc/otavia/buffer/pool/DirectRecyclablePageBuffer.html index 381005b5f..6e2edb7f9 100644 --- a/cc/otavia/buffer/pool/DirectRecyclablePageBuffer.html +++ b/cc/otavia/buffer/pool/DirectRecyclablePageBuffer.html @@ -8147,6 +8147,49 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+ +
+
+ Inherited from: +
+
+ AbstractBuffer +
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/pool/HeapRecyclablePageBuffer.html b/cc/otavia/buffer/pool/HeapRecyclablePageBuffer.html index 05ab4f17c..028de60a3 100644 --- a/cc/otavia/buffer/pool/HeapRecyclablePageBuffer.html +++ b/cc/otavia/buffer/pool/HeapRecyclablePageBuffer.html @@ -8147,6 +8147,49 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+ +
+
+ Inherited from: +
+
+ AbstractBuffer +
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/pool/RecyclablePageBuffer.html b/cc/otavia/buffer/pool/RecyclablePageBuffer.html index f0968a246..cdbc31a7b 100644 --- a/cc/otavia/buffer/pool/RecyclablePageBuffer.html +++ b/cc/otavia/buffer/pool/RecyclablePageBuffer.html @@ -8130,6 +8130,49 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+ +
+
+ Inherited from: +
+
+ AbstractBuffer +
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/unpool/UnpoolDirectBuffer.html b/cc/otavia/buffer/unpool/UnpoolDirectBuffer.html index ead81ca10..033ae8208 100644 --- a/cc/otavia/buffer/unpool/UnpoolDirectBuffer.html +++ b/cc/otavia/buffer/unpool/UnpoolDirectBuffer.html @@ -8016,6 +8016,49 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+ +
+
+ Inherited from: +
+
+ AbstractBuffer +
+
+
+
+
+
+
diff --git a/cc/otavia/buffer/unpool/UnpoolHeapBuffer.html b/cc/otavia/buffer/unpool/UnpoolHeapBuffer.html index c75b5e0f3..ea713b537 100644 --- a/cc/otavia/buffer/unpool/UnpoolHeapBuffer.html +++ b/cc/otavia/buffer/unpool/UnpoolHeapBuffer.html @@ -7952,6 +7952,49 @@

Attributes

+
+
+ +
+
+ override def skipIfNextInRange(lower: Byte, upper: Byte): Boolean +
+
+
+
+ +
+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+
+
+

increase the readerOffset by one if the next readable byte is in the gaven byte range.

+
+

Attributes

+
+
+ Definition Classes +
+
+ +
+
+ Inherited from: +
+
+ AbstractBuffer +
+
+
+
+
+
+
diff --git a/scripts/searchData.js b/scripts/searchData.js index bcad4c96e..76795eac9 100644 --- a/scripts/searchData.js +++ b/scripts/searchData.js @@ -183,6 +183,7 @@ pages = [{"l":"index.html#","e":false,"i":"","n":"otavia","t":"otavia","d":"","k {"l":"cc/otavia/buffer/Buffer.html#skipIfNextAre-6e","e":false,"i":"","n":"skipIfNextAre","t":"skipIfNextAre(bytes: Array[Byte]): Boolean","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, {"l":"cc/otavia/buffer/Buffer.html#skipIfNextIgnoreCaseAre-6e","e":false,"i":"","n":"skipIfNextIgnoreCaseAre","t":"skipIfNextIgnoreCaseAre(bytes: Array[Byte]): Boolean","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, {"l":"cc/otavia/buffer/Buffer.html#skipIfNextIn-6e","e":false,"i":"","n":"skipIfNextIn","t":"skipIfNextIn(set: Array[Byte]): Boolean","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, +{"l":"cc/otavia/buffer/Buffer.html#skipIfNextInRange-dc0","e":false,"i":"","n":"skipIfNextInRange","t":"skipIfNextInRange(lower: Byte, upper: Byte): Boolean","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, {"l":"cc/otavia/buffer/Buffer.html#skipIfNextIs-890","e":false,"i":"","n":"skipIfNextIs","t":"skipIfNextIs(byte: Byte): Boolean","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, {"l":"cc/otavia/buffer/Buffer.html#skipReadableBytes-fffffa19","e":false,"i":"","n":"skipReadableBytes","t":"skipReadableBytes(delta: Int): Buffer","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, {"l":"cc/otavia/buffer/Buffer.html#skipWritableBytes-fffffa19","e":false,"i":"","n":"skipWritableBytes","t":"skipWritableBytes(delta: Int): Buffer","d":"cc.otavia.buffer.Buffer","k":"def","x":""}, @@ -259,6 +260,7 @@ pages = [{"l":"index.html#","e":false,"i":"","n":"otavia","t":"otavia","d":"","k {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsInstant-fffffacc","e":false,"i":"","n":"readStringAsInstant","t":"readStringAsInstant(buffer: Buffer): Instant","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsInt-fffffe07","e":false,"i":"","n":"readStringAsInt","t":"readStringAsInt(buffer: Buffer): Int","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsIntYear-fffffe07","e":false,"i":"","n":"readStringAsIntYear","t":"readStringAsIntYear(buffer: Buffer): Int","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, +{"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsJDuration-609","e":false,"i":"","n":"readStringAsJDuration","t":"readStringAsJDuration(buffer: Buffer): Duration","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsLocalDate-fffffbe4","e":false,"i":"","n":"readStringAsLocalDate","t":"readStringAsLocalDate(buffer: Buffer): LocalDate","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsLocalDateTime-d1","e":false,"i":"","n":"readStringAsLocalDateTime","t":"readStringAsLocalDateTime(buffer: Buffer): LocalDateTime","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""}, {"l":"cc/otavia/buffer/BufferUtils$.html#readStringAsLocalTime-ffffff03","e":false,"i":"","n":"readStringAsLocalTime","t":"readStringAsLocalTime(buffer: Buffer): LocalTime","d":"cc.otavia.buffer.BufferUtils","k":"def","x":""},