diff --git a/agrona/src/main/java/org/agrona/AsciiSequenceView.java b/agrona/src/main/java/org/agrona/AsciiSequenceView.java index 980c79c8d..84a13fbc1 100644 --- a/agrona/src/main/java/org/agrona/AsciiSequenceView.java +++ b/agrona/src/main/java/org/agrona/AsciiSequenceView.java @@ -50,6 +50,26 @@ public int length() return length; } + /** + * Gets the underlying buffer which this is a view over. + * + * @return the underlying buffer which this is a view over. + */ + public DirectBuffer buffer() + { + return buffer; + } + + /** + * Gets the offset into the underlying buffer. + * + * @return the offset into the underlying buffer. + */ + public int offset() + { + return offset; + } + /** * {@inheritDoc} */