I'm looking to find a document in the repository, and return a byte array that will later be used by another party. All this within the Webscript, of course (JavaScript).
Obviously, the part that's causing me problems is the creation of byte array.
Does anyone have any explanations, articles, code examples and so on? Any help will be appreciated.