Typesafe BufferHandle