Expose encoding & buffer lengths.